import { storage } from "./storage";
const TOKEN_KEY = "Authentication";

const getToken = async () => await storage.get(TOKEN_KEY);
const setToken = async (token: string) => await storage.set(TOKEN_KEY, token);
const clearToken = async () => await storage.remove(TOKEN_KEY);

export { getToken, setToken, clearToken };
